package com.gugee.ins.common.dal.service.dic.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.dic.InsDicCommercialCategoryMapper;
import com.gugee.ins.common.dal.service.dic.InsDicCommercialCategoryDao;
import com.gugee.ins.common.model.mysql.dic.InsDicCommercialCategory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * ins博主商业分类字典表
 * @author Huangxin
 */
@Slf4j
@Service
public class InsDicCommercialCategoryDaoImpl extends ServiceImpl<InsDicCommercialCategoryMapper, InsDicCommercialCategory> implements InsDicCommercialCategoryDao {

    /**
     * 获取所有一级分类
     * @return
     */
    @Override
    public List<String> findAllOverallCategory(){
        return baseMapper.findAllOverallCategory();
    }
}
